﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
    <script type="text/javascript">
        var a = 3, b = 4, c = 5;
        if ((a == b) && (a > c)) {
            document.writeln("A and b are equal and greater than c.");
        }
        else if ((a == c) && (a > b)) {
            document.writeln("A and c are equal and and are both greater than b.");
        }
        else if ((b == c) && (c > a)) {
            document.writeln("B and c are equal and are both bigger than a.");
        }
        else if ((a > b) && (a > c)) {
            document.writeln("The biggest number is a.");
        }
        else {
            if ((b > a) && (b > c)) {
                document.writeln("The biggest number is b.");
            }
            else {
                if ((c > a) && (c > b)) {
                    document.writeln("The biggest number is c.");
                }
            }
        }
    </script>
</body>
</html>
